Yabe\Ukiyo\Ecommerce\Platform\WooCommerce\Payment S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 198
Lines of code 151
Logical lines of code 90
Comment lines 26
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
when_subscription_status_completed()
A
46 12 31
when_payment_status_canceled()
A
52 8 23
fresh_order()
S
53 6 16
subscription_status_updated()
S
62 4 12
order_status_changed()
S
63 3 11
refresh_order()
S
60 3 11
when_payment_status_completed()
S
69 2 7
is_should_generate()
S
78 1 3
is_should_renewal()
S
78 1 3
number_active_duration()
S
78 1 3
number_max_sites()
S
78 1 3
is_order_complete()
S
78 1 3
is_renewal_complete()
S
78 1 3
revoke()
S
73 1 5
revoke_license()
S
73 1 4
revoke_order()
S
73 1 4
deactivate()
S
69 1 5
__construct()
S
72 1 4